package org.particlethink.response;

import io.swagger.v3.oas.annotations.media.Schema;
import org.particlethink.entry.PlanStatus;
import org.particlethink.model.ProjectUser;

import java.util.Date;

public class ProjectUserResponse {
    @Schema(description = "项目用户id")
    private Integer id;
    @Schema(description = "项目用户名")
    private String name;
    @Schema(description = "项目用户手机号")
    private String phone;
    @Schema(description = "nickname")
    private String nickName;

    public ProjectUserResponse() {
    }

    public ProjectUserResponse(ProjectUser projectUser) {
        if (projectUser != null) {
            this.id = projectUser.getId();
            this.name = projectUser.getName();
            this.phone = projectUser.getPhone();
            this.nickName = projectUser.getNickName();
        }

    }

    public void setId(int id) {
        this.id = id;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}

